package invoicesystem.entry;

public class InvoicingRecord {
    private Integer id;//主键
    private Double amount;//发票金额
    private Integer enterprise_id;//开票企业id =当前登录人企业id
    private Integer creator_id;//申请人id =当前登录人主键
    private String create_time;//申请时间
    private String  category;//发票种类
    private String type;//发票类型
    private String status;//处理状态
    private Integer base_data_id;//基本信息主键
    private Integer address_id;//邮寄地址主键
    private Integer email_id;//电子邮箱主键
    private String uplink_address;//上链地址

    public Integer getId() {
        return id;
    }

    @Override
    public String toString() {
        return "InvoicingRecord{" +
                "id=" + id +
                ", amount=" + amount +
                ", enterprise_id=" + enterprise_id +
                ", creator_id=" + creator_id +
                ", create_time='" + create_time + '\'' +
                ", category='" + category + '\'' +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                ", base_data_id=" + base_data_id +
                ", address_id=" + address_id +
                ", email_id=" + email_id +
                ", uplink_address='" + uplink_address + '\'' +
                '}';
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getEnterprise_id() {
        return enterprise_id;
    }

    public void setEnterprise_id(Integer enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public Integer getCreator_id() {
        return creator_id;
    }

    public void setCreator_id(Integer creator_id) {
        this.creator_id = creator_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getBase_data_id() {
        return base_data_id;
    }

    public void setBase_data_id(Integer base_data_id) {
        this.base_data_id = base_data_id;
    }

    public Integer getAddress_id() {
        return address_id;
    }

    public void setAddress_id(Integer address_id) {
        this.address_id = address_id;
    }

    public Integer getEmail_id() {
        return email_id;
    }

    public void setEmail_id(Integer email_id) {
        this.email_id = email_id;
    }

    public String getUplink_address() {
        return uplink_address;
    }

    public void setUplink_address(String uplink_address) {
        this.uplink_address = uplink_address;
    }

    public InvoicingRecord(Integer id, Double amount, Integer enterprise_id, Integer creator_id, String create_time, String category, String type, String status, Integer base_data_id, Integer address_id, Integer email_id, String uplink_address) {
        this.id = id;
        this.amount = amount;
        this.enterprise_id = enterprise_id;
        this.creator_id = creator_id;
        this.create_time = create_time;
        this.category = category;
        this.type = type;
        this.status = status;
        this.base_data_id = base_data_id;
        this.address_id = address_id;
        this.email_id = email_id;
        this.uplink_address = uplink_address;
    }

    public InvoicingRecord(String status, String uplink_address) {
        this.status = status;
        this.uplink_address = uplink_address;
    }
    public InvoicingRecord(Double amount, Integer enterprise_id, Integer creator_id, String category, String type, Integer base_data_id, Integer address_id, Integer email_id) {
        this.amount = amount;
        this.enterprise_id = enterprise_id;
        this.creator_id = creator_id;
        this.category = category;
        this.type = type;
        this.base_data_id = base_data_id;
        this.address_id = address_id;
        this.email_id = email_id;
    }

    public InvoicingRecord() {
    }
}
